package com.may.module.security.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 统一错误页面
 * @author May
 * @date 2021/08/03 13:13
 */
@RestController
@RequestMapping("/error")
public class ErrorController {

    @RequestMapping("/403")
    public String error403() {
        return "权限不足";
    }
}
